package cn.edu.scau.cmi.maikejian.comprehension.domain;

public class Student implements java.io.Serializable {

	  public Student(long id ,String name,Teacher teacher) {
		  this.id = id;
		  this.name = name;
		  this.teacher = teacher;
	  }
	  public Student(long id ,String name) {
		  this.id = id;
		  this.name = name;
	  }

	  private Long id;
	  private Teacher teacher = null;
	  private String name;

	  public Long getId() {
	    return this.id;
	  }

	  public void setId(Long id) {
	    this.id = id;
	  }

	  public Teacher getTeacher() {
	    return this.teacher;
	  }

	  public void setTeacher(Teacher teacher) {
	    this.teacher = teacher;
	  }

	  public String getName() {
	    return this.name;
	  }

	  public void setName(String name) {
	    this.name = name;
	  }
	}
